var http = require('http')
var server = http.createServer()
server.on('request',function(req,res){
  console.log('收到'+req.url)
  res.write('hello')
  res.end()
})
server.listen(8888,function(){
  console.log('启动')
})